From: Johan Bockgård Date: Sun, 27 Sep 2009 13:08:27 +0000 (+0000) Subject: (erc-button-keymap): Bind `follow-link'. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~10279 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=92f008f8680c3342cc0240feb76a7662a29eae9c;p=emacs.git (erc-button-keymap): Bind `follow-link'. --- diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog index c2e83911e0c..73b14f6f912 100644 --- a/lisp/erc/ChangeLog +++ b/lisp/erc/ChangeLog @@ -1,3 +1,7 @@ +2009-09-27 Johan BockgÃ¥rd + + * erc-button.el (erc-button-keymap): Bind `follow-link'. + 2009-09-26 Johan BockgÃ¥rd * erc-button.el (erc-button-add-button): Only call diff --git a/lisp/erc/erc-button.el b/lisp/erc/erc-button.el index 8eee1ce278f..a862e02f43b 100644 --- a/lisp/erc/erc-button.el +++ b/lisp/erc/erc-button.el @@ -216,6 +216,7 @@ PAR is a number of a regexp grouping whose text will be passed to (define-key map (kbd "") 'erc-button-click-button)) (define-key map (kbd "TAB") 'erc-button-next) (define-key map (kbd "") 'erc-button-previous) + (define-key map [follow-link] 'mouse-face) (set-keymap-parent map erc-mode-map) map) "Local keymap for ERC buttons.")